# Contributor: Tom Tsagk <tomtsagk@darkdimension.org>
# Maintainer: Tom Tsagk <tomtsagk@darkdimension.org>
pkgname=avdl
pkgver=0.4.3
pkgrel=1
pkgdesc="Abstract video-game development language compiler"
url="https://darkdimension.org/avdl.html"
arch="all"
license="GPL-3.0-only"
makedepends="musl-dev glew-dev sdl2-dev sdl2_mixer-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tomtsagk/avdl/archive/refs/tags/v$pkgver.tar.gz"

check() {
	make test
}

build() {
	make prefix=/usr
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr install

}

sha512sums="
0c0f4b80810ff8575169fce3601cd93813f9e54763d0e4b4b3d447204b8560b17a34d3f69ed861a6712841abb5fc1426868f175b84008054d95b5c26fb024faf  avdl-0.4.3.tar.gz
"
